ID=input("请输入ID：")
judge_number=True in map(lambda x:x.isalpha(),ID)
judge_letter=True in map(lambda x:x.isdigit(),ID)
judge__=True in map(lambda x:x=='_',ID)
if len(ID)<8:
    print("ID长度小于8位数")
elif judge_number and judge_letter and judge__:
    print("输入成功")
else:
    print("ID要求包含字母，数字和下划线")